﻿<%@ control language="C#" autoeventwireup="true" inherits="_modules_complaints_ucComplaintDetails, App_Web_lvlwlbuv" %>
<div>
    <asp:Repeater ID="rptrCusData" runat="server">
        <ItemTemplate>
            <div class="formRow" style="width:100%;">
                <div class="formContainer"  style="width:100%;">
                    <span class="spnText" style="font-weight:600;">Complaint ID</span>
                    <div style="float: left;padding: 6px;width: 560px;">
                        <asp:Label ID="Label1" Text='<%# Eval("issueid") %>' runat="server"></asp:Label>
                    </div>
                </div>
            </div>
            <div class="formRow" style="float: left;width:100%;">
                <div class="formContainer"  style="width:100%;">
                    <span class="spnText" style="font-weight:600;">Name</span>
                    <div style="padding: 6px;width: 590px;">
                        <asp:Label ID="Label2" Text='<%# Eval("name") %>' runat="server"></asp:Label>
                    </div>
                </div>
            </div>
            <div class="formRow" style="width:100%;">
                <div class="formContainer"  style="width:100%;">
                    <span class="spnText" style="font-weight:600;">Contacts</span>
                    <div style="float: left;padding: 6px;width: 560px;">
                        <asp:Label ID="Label3" Text='<%# Eval("address") %>' runat="server"></asp:Label><br />
                    <asp:Label ID="Label4" Text='<%# Eval("location") %>' runat="server"></asp:Label><br />
                    <b>Landmark: </b>
                    <asp:Label ID="Label5" Text='<%# Eval("landmark") %>' runat="server"></asp:Label><br />
                    <asp:Label ID="Label6" Text='<%# Eval("state") %>' runat="server"></asp:Label>&nbsp;-&nbsp;<asp:Label ID="Label7"
                        runat="server" Text='<%# Eval("postcode") %>'></asp:Label><br />
                    <asp:Label ID="Label8" Text='<%# Eval("mobile") %>' runat="server"></asp:Label>/<asp:Label ID="Label9"
                        runat="server" Text='<%# Eval("landline") %>'></asp:Label>
                    </div>
                </div>
            </div>
            <div class="formRow" style="width:100%;">
                <div class="formContainer"  style="width:100%;">
                    <span class="spnText" style="font-weight:600;">Product</span>
                    <div style="float: left;padding: 6px;width: 560px;">
                        <asp:Label ID="Label10" Text='<%# Eval("product") %>' runat="server" Font-Bold="true"></asp:Label>
                        <br />
                        Modal No: <asp:Label ID="Label11" Text='<%# Eval("modal") %>' runat="server"></asp:Label> /
                        Compressor No: <asp:Label ID="Label12" Text='<%# Eval("compressor") %>' runat="server"></asp:Label><br />
                        Indoor No: <asp:Label ID="Label13" Text='<%# Eval("indoor") %>' runat="server"></asp:Label> / 
                        Outdoor No: <asp:Label ID="Label14" Text='<%# Eval("outdoor") %>' runat="server"></asp:Label>
                    </div>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
<div>

    <div class="pendingCaseGridContainer">
        <div class="pendingCaseGridContainerDiv" style="background-color: #FFFFFF;">
            <div class="pendingCaseGridHeader">
                <span class="headerText">Complaint Log</span>
            </div>
            <div id="allCustomerGrid" class="pendingCaseRepeaterDiv" style="min-height: 200px;">
                    <table id="complaints" border="0" cellpadding="2" cellspacing="0" class="content"
                        style="width: 100%; float: left;">
                        <thead class="tableHeader">
                            <tr>
                                <td style="width: 200px; text-align: center; font-size: 11px; font-weight: 600;">
                                    Complaint Description
                                </td>
                                <td style="width: 175px; text-align: center; font-size: 11px; font-weight: 600;">
                                    Technician
                                </td>
                                <td style="width: 110px; text-align: center; font-size: 11px; font-weight: 600;">
                                    Status
                                </td>
                            </tr>
                        </thead>
                        <tbody style="font-size: 11px;">
                        <asp:Repeater ID="rptrComplaint" runat="server">
                            <ItemTemplate>
                            <tr>
                                <td class="alignCenter">
                                    <asp:Label ID="Label11" Text='<%# Eval("complaintdesc") %>' runat="server"></asp:Label>
                                </td>
                                <td class="alignCenter">
                                    <asp:Label ID="Label15" Text='<%# Eval("technician") %>' runat="server"></asp:Label>
                                </td>
                                <td class="alignCenter">
                                    <asp:Label ID="Label16" Text='<%# Eval("compstatus") %>' runat="server"></asp:Label>
                                </td>
                            </tr>
                            </ItemTemplate>
                            </asp:Repeater>
                        </tbody>
                    </table>
                
            </div>
        </div>
        <div class="formRow"  style="width:100%;">
            <div class="formContainer"  style="width:100%;">
                <span class="spnText" style="font-weight: 600; width: 220px;">Any spare device supplied</span>
                <div style="float: left; padding: 6px; width: 340px;">
                    <asp:Label ID="lblIsSpare" runat="server"></asp:Label>
                </div>
            </div>
        </div>
        <div class="formRow" style="float:left; width:100%;">
            <div class="formContainer"  style="width:100%;">
                <span class="spnText" style="font-weight: 600;width: 220px;">Spare Details</span>
                <div style="float: left; padding: 6px; width: 340px;">
                    <asp:Label ID="lblSpareDetails" runat="server"></asp:Label>
                </div>
            </div>
        </div>
    </div>

    <%--<div class="customerGridContainer">
        <div class="pendingCaseGridContainer" style="margin-left: 10px;">
            <div class="pendingCaseGridContainerDiv">
                <div class="pendingCaseGridHeader" style="width: 690px;">
                    <span class="dashboardAlertText">Complaint Log</span>
                </div>
                <div class="pendingCaseGridTblHeader" style="width: 710px;">
                    <span class="pendingCaseGridTblText" style="width: 330px;">Complaint Description</span>
                    <span class="pendingCaseGridTblText">Assignee</span> <span class="pendingCaseGridTblText">
                        Status</span>
                </div>
                <div id="complaintDetails" class="pendingCaseRepeaterDiv">
                    <ul id="ulPaging" style="width: 710px; margin-top: 0px;">
                        <li class="pendingCaseRepeaterDivlist" style="height: auto;"><span class="pendingCaseRepeaterText"
                            style="width: 330px;">
                            <asp:Label ID="lblCusID" runat="server"></asp:Label></span> <span class="pendingCaseRepeaterText">
                                <asp:Label ID="lblCusFname" runat="server"></asp:Label>
                            </span><span class="pendingCaseRepeaterText">
                                <asp:Label ID="lblModgal" runat="server"></asp:Label>
                            </span></li>
                    </ul>
                </div>
            </div>
            <div class="addCustomerFormRow">
                <span class="addCustomerFormText" style="width: 200px;">Any spare device supplied</span>
                <div class="addCustomerFormInputDiv" style="margin-top: 6px; font-weight: 600; color: Red;">
                    <asp:Literal ID="litrlIsSpare" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
    </div>--%>
</div>
